// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'
import moment from 'moment' //日期处理
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'


Vue.use(Viewer, {
  defaultOptions: {
      zIndex: 9999,
      navber: false
  }
})




Vue.use(ElementUI);

Vue.prototype.$moment = moment

Vue.prototype.$upload = '/upload'
Vue.config.productionTip = false

/* eslint-disable no-new */
const vm = new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
